ContentEgg\application\helpers\TextHelper D

Total Complexity 126
Dependencies 2
Dependents 44
Total lines 686
Lines of code 522
Logical lines of code 275
Comment lines 46
Methods 43
Properties 0

Methods 43

Method Rating Maintainability Complexity Lines of code
truncateHtml()
C
29 27 131
unserialize_xml()
S
61 8 10
truncate()
S
53 6 22
addUrlParam()
S
58 6 14
safeHtml()
S
50 4 32
findOriginalUrl()
S
62 4 11
isEan()
S
55 3 17
findOriginalDomain()
S
63 4 10
getUrlWithoutDomain()
S
63 4 10
prepareKeywords()
S
62 3 12
removeUrlParam()
S
60 3 12
pricePenniesDenomination()
S
62 3 11
sluggable()
S
47 2 18
splitAsins()
S
63 3 10
ratingPrepare()
S
66 3 8
parseCurrencyCode()
S
63 3 9
parsePriceAmount()
S
62 3 10
parseOriginalUrl()
S
63 3 10
getParamFromPath()
S
65 3 8
sanitizeHtml()
S
51 1 28
randomPassword()
S
62 2 11
spin()
S
62 2 11
rus2latin()
S
49 1 21
isHtmlTagDetected()
S
71 2 6
parseDomain()
S
72 2 5
getDomainWithoutSubdomain()
S
69 2 7
isAsin()
S
71 2 6
fixEan()
S
68 2 7
urlHost()
S
77 1 3
get_random()
S
74 1 4
getArrayFromCommaList()
S
78 1 3
getRandomFromCommaList()
S
72 1 5
isValidDomainName()
S
79 1 3
clear()
S
78 1 3
commaList()
S
71 1 5
clearId()
S
78 1 3
currencyTyping()
S
80 1 3
removeExtraBr()
S
78 1 3
removeExtraBreaks()
S
78 1 3
nl2br()
S
77 1 3
br2nl()
S
77 1 3
clear_utf8()
S
68 1 7
getHostName()
S
73 1 4